<nav id="menu">
  <ul>
    <li><a href="/goods">全部商品</a></li>
    <?php
	if($this->cate[0]){
		foreach($this->cate[0] as $caid=>$caname){
			?>
            <li><a href="/goods?caid=<?=$caid;?>"><?=$caname;?></a></li>
            <?
			if($this->cate[$caid]){
				foreach($this->cate[$caid] as $smlcaid=>$smlname){
					
						if($smlcaid==$this->data['para']['caid']) $cls=' class="mm-selected"';
						else $cls='';
					
					?>
                    <li style="padding-left:30px;"<?=$cls;?>><a href="/goods?caid=<?=$smlcaid;?>"><?=$smlname;?></a></li>
                    <?
				}
			}
		}
	}	?>
  <li style="padding-bottom:30px;"><a href="/goods">全部商品</a></li>
  </ul>
</nav>
<div class="header">
	<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="5"></td>
	<td>
	<div class="headerz">
		<a href="#"><img src="/style2/images/logo.png"></a>
	</div>
	</td>
	<td>
	<form action="#" class="headery1fo">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td width="25"><input type="submit" class="input2" value=""></td>
		<td><input type="text" class="input1_lb" placeholder="搜索商品"></td>
		</tr>
		</table>
		</form>
	</td>
	<td width="10"></td>
	<td width="40"><a href="#menu" id="topmenu"><img src="/style2/images/menu.png"></a></td>
	<td width="5"></td>
	</tr>
	</table>
</div>